package cn.zswltech.gruul.api;

import cn.zswltech.gruul.common.result.Response;
import cn.zswltech.lib.futurelog.save.model.cmd.FutureLogQueryCmd;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author Jim
 * @version 1.0.0
 * @descripition:
 * @date 2024/1/29 13:45
 */
// @FeignClient(value = "gruul",path = "/userOperation")
@RequestMapping("userOperation")
public interface UserOperationApi {

    @GetMapping("/operType")
    Response getOperTypeList();

    /**
     * 查询操作日志列表
     */
    @GetMapping("/list")
    Response getUserOperationList(FutureLogQueryCmd queryCmd);

    @PostMapping("/delete")
    Response deleteOperationLog(int id);
}
